/**
 * 
 */
package com.guoxin.chapter2.stringandsyn2;

/**
 * @author guoxin
 * @date 2019年8月19日
 */
public class ThreadA extends Thread {

	private Service service;

	public ThreadA(Service service) {
		super();
		this.service = service;
	}
	
	@Override
	public void run() {
		service.print(new Object());
	}
	
}
